package com.bdth.model;

import com.bdth.utils.Constants;

import java.util.Date;

public class EnclosureConfig extends BaseModel {


	public static String POLYGON = "polygon";
	public static String RECT = "rect";
	public static String CIRCLE = "circle";
	public static String ROUTE = "route";
	public static String MARKER = "marker";

	private String points;

	private String name;

	private Integer radius;

	private String enclosureType;

	private String alarmType;

	private Date createDate;

	private Date startDate;

	private Date endDate;

	private Integer limitSpeed;

	private Integer maxSpeed;

	private Integer lineWith;

	private Double centerLng;

	private Double centerLat;

	private String maptype;

	private String userName;


	public EnclosureConfig() {
		this.maptype = Constants.MAP_GOOGLE;
	}

	public String getPoints() {
		return points;
	}

	public void setPoints(String points) {
		this.points = points == null ? null : points.trim();
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public Integer getRadius() {
		return radius;
	}

	public void setRadius(Integer radius) {
		this.radius = radius;
	}

	public String getEnclosureType() {
		return enclosureType;
	}

	public void setEnclosureType(String enclosureType) {
		this.enclosureType = enclosureType == null ? null : enclosureType.trim();
	}

	public String getAlarmType() {
		return alarmType;
	}

	public void setAlarmType(String alarmType) {
		this.alarmType = alarmType == null ? null : alarmType.trim();
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Integer getLimitSpeed() {
		return limitSpeed;
	}

	public void setLimitSpeed(Integer limitSpeed) {
		this.limitSpeed = limitSpeed;
	}

	public Integer getMaxSpeed() {
		return maxSpeed;
	}

	public void setMaxSpeed(Integer maxSpeed) {
		this.maxSpeed = maxSpeed;
	}

	public Integer getLineWith() {
		return lineWith;
	}

	public void setLineWith(Integer lineWith) {
		this.lineWith = lineWith;
	}

	public Double getCenterLng() {
		return centerLng;
	}

	public void setCenterLng(Double centerLng) {
		this.centerLng = centerLng;
	}

	public Double getCenterLat() {
		return centerLat;
	}

	public void setCenterLat(Double centerLat) {
		this.centerLat = centerLat;
	}

	public String getMaptype() {
		return maptype;
	}

	public void setMaptype(String maptype) {
		this.maptype = maptype == null ? null : maptype.trim();
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
}